package com.uzykj.modules.front.mapper;

import com.uzykj.core.persistence.BaseMapper;
import com.uzykj.core.persistence.annotation.MyBatisMapper;
import com.uzykj.modules.front.entity.FollowUser;

import java.util.List;

/**
 * @author ghostxbh
 * @date 2020/8/18
 * @description
 */
@MyBatisMapper
public interface FollowUserMapper extends BaseMapper<FollowUser> {
    /**
     * 获取我的粉丝
     *
     * @param followUser
     * @return
     */
    List<FollowUser> getFanses(FollowUser followUser);

    /**
     * 获取我的关注
     *
     * @param followUser
     * @return
     */
    List<FollowUser> getFollowers(FollowUser followUser);
}
